From: Andrew Cooper Date: Wed, 27 Apr 2016 10:33:42 +0000 (+0100) Subject: tools/blktap2: Use abort() instead of custom crash X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~1221 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=ddde10ac178bea2b9094371dd51ff7b5ea7f6ee3;p=xen.git tools/blktap2: Use abort() instead of custom crash Like c/s 4d98d3ebf - there is a second instance. Signed-off-by: Andrew Cooper Acked-by: Wei Liu Release-acked-by: Wei Liu --- diff --git a/tools/blktap2/drivers/block-vhd.c b/tools/blktap2/drivers/block-vhd.c index 76ea5bd4f1..f7853f922d 100644 --- a/tools/blktap2/drivers/block-vhd.c +++ b/tools/blktap2/drivers/block-vhd.c @@ -85,7 +85,7 @@ unsigned int SPB; DBG(TLOG_WARN, "%s:%d: FAILED ASSERTION: '%s'\n", \ __FILE__, __LINE__, #_p); \ tlog_flush(); \ - *(int*)0 = 0; \ + abort(); \ } #if (DEBUGGING == 1)